/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package db.server.DTO;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author QuangKhai
 */
public class UpdateQueryDTO {
    private String _update;
    private List<String> _columnsName;
    private List<String> _values;
    private List<ExpressionDTO> _where;
    private String _linkWhere;

    public UpdateQueryDTO(){
        _update = "";
        _columnsName = new ArrayList<String>();
        _values = new ArrayList<String>();
        _where = new ArrayList<ExpressionDTO>();
        _linkWhere = " ";
    }
    /**
     * @return the _update
     */
    public String getUpdate() {
        return _update;
    }

    /**
     * @param update the _update to set
     */
    public void setUpdate(String update) {
        this._update = update;
    }

    /**
     * @return the _columnsName
     */
    public List<String> getColumnsName() {
        return _columnsName;
    }

    /**
     * @param columnsName the _columnsName to set
     */
    public void setColumnsName(List<String> columnsName) {
        this._columnsName = columnsName;
    }

    /**
     * @return the _values
     */
    public List<String> getValues() {
        return _values;
    }

    /**
     * @param values the _values to set
     */
    public void setValues(List<String> values) {
        this._values = values;
    }

    /**
     * @return the _where
     */
    public List<ExpressionDTO> getWhere() {
        return _where;
    }

    /**
     * @param where the _where to set
     */
    public void setWhere(List<ExpressionDTO> where) {
        this._where = where;
    }

    /**
     * @return the _linkWhere
     */
    public String getLinkWhere() {
        return _linkWhere;
    }

    /**
     * @param linkWhere the _linkWhere to set
     */
    public void setLinkWhere(String linkWhere) {
        this._linkWhere = linkWhere;
    }
}
